<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
    <title>Document</title>
    <script src="./bower_components/angular/angular.js"></script>
    <script src="./lesson1.js"></script>


</head>
<body>
    <div ng-app="">
        <input type="text" ng-model="data.message"/>
        <h1>{{data.message}}</h1>

        <div ng-controller="firstController">
            <input type="text" ng-model="data.message"/>
            <h1>{{data.message}}</h1>
        </div>

        <div ng-controller="secondController">
            <input type="text" ng-model="data.message"/>
            <h1>{{data.message}}</h1>
        </div>
    </div>

</body>
</html>